package com.menggudf.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="familyInfo")
public class FamilyInfo implements Serializable{
	  private static final long serialVersionUID = 1412567970984547796L;
	  	private int id;
	    private String userCode;//用户唯一标识
	    private String roleName;//角色名称
	    private int sex;
	    private String birth;
	    private String maritalStatus;
	    private int height;
	    private int weight;
	    /**
	     * 过敏史
	     */
	    private String allergicHistory;//过敏史
	    /**
	     * 现病史
	     */
	    private String presentIllness;
	    /**
	     * 既往史
	     */
	    private String previousHistory;
	    /**
	     * 个人史
	     */
	    private String personalHistory;
	    /**
	     * 家族史
	     */
	    private String familyHistory;
	    /**
	     * 婚育史
	     */
	    private String obstericalHistory;
	    /**
	     * 体格检查
	     */
	    private String physicalExamination;
	    /**
	     * 辅助检查
	     */
	    private String accessoryExamination;
	   /** 月经史
	     */
	    private String menstrualHistory;
	    /**
	     * 职业
	     */
	    private String profession;
	    @Id
	    @Column(name="id",unique=true,nullable=false)
	    @GeneratedValue(strategy=GenerationType.IDENTITY)
		public int getId() {
			return id;
		}
		public void setId(int id) {
			this.id = id;
		}
		@Column(name="userCode")
		public String getUserCode() {
			return userCode;
		}
		public void setUserCode(String userCode) {
			this.userCode = userCode;
		}
		@Column(name="roleName")
		public String getRoleName() {
			return roleName;
		}
		public void setRoleName(String roleName) {
			this.roleName = roleName;
		}
		
		@Column(name="sex")
		public int getSex() {
			return sex;
		}
		public void setSex(int sex) {
			this.sex = sex;
		}
		@Column(name="birth")
		public String getBirth() {
			return birth;
		}
		public void setBirth(String birth) {
			this.birth = birth;
		}
		@Column(name="maritalStatus")
		public String getMaritalStatus() {
			return maritalStatus;
		}
		public void setMaritalStatus(String maritalStatus) {
			this.maritalStatus = maritalStatus;
		}
		@Column(name="allergicHistory")
		public String getAllergicHistory() {
			return allergicHistory;
		}
		public void setAllergicHistory(String allergicHistory) {
			this.allergicHistory = allergicHistory;
		}
		@Column(name="presentIllness")
		public String getPresentIllness() {
			return presentIllness;
		}
		public void setPresentIllness(String presentIllness) {
			this.presentIllness = presentIllness;
		}
		@Column(name="previousHistory")
		public String getPreviousHistory() {
			return previousHistory;
		}
		public void setPreviousHistory(String previousHistory) {
			this.previousHistory = previousHistory;
		}
		@Column(name="personalHistory")
		public String getPersonalHistory() {
			return personalHistory;
		}
		public void setPersonalHistory(String personalHistory) {
			this.personalHistory = personalHistory;
		}
		@Column(name="familyHistory")
		public String getFamilyHistory() {
			return familyHistory;
		}
		public void setFamilyHistory(String familyHistory) {
			this.familyHistory = familyHistory;
		}
		@Column(name="obstericalHistory")
		public String getObstericalHistory() {
			return obstericalHistory;
		}
		public void setObstericalHistory(String obstericalHistory) {
			this.obstericalHistory = obstericalHistory;
		}
		@Column(name="physicalExamination")
		public String getPhysicalExamination() {
			return physicalExamination;
		}
		public void setPhysicalExamination(String physicalExamination) {
			this.physicalExamination = physicalExamination;
		}
		@Column(name="accessoryExamination")
		public String getAccessoryExamination() {
			return accessoryExamination;
		}
		public void setAccessoryExamination(String accessoryExamination) {
			this.accessoryExamination = accessoryExamination;
		}
		@Column(name="menstrualHistory")
		public String getMenstrualHistory() {
			return menstrualHistory;
		}
		public void setMenstrualHistory(String menstrualHistory) {
			this.menstrualHistory = menstrualHistory;
		}
		@Column(name="profession")
		public String getProfession() {
			return profession;
		}
		public void setProfession(String profession) {
			this.profession = profession;
		}
		@Column(name="height")
		public int getHeight() {
			return height;
		}
		public void setHeight(int height) {
			this.height = height;
		}
		@Column(name="weight")
		public int getWeight() {
			return weight;
		}
		public void setWeight(int weight) {
			this.weight = weight;
		}
	    
	    
}
